java.lang.Object | +--com.hp.openview.ib.api.jopc.JOpcObject | +--com.hp.openview.ib.api.jopc.JOpcMessage
Provides a object oriented java class with getter() and setter(), corresponding to the HPOM Data Structure "OPCDTYPE_MESSAGE". This data structure is needed in context of HPOM APIs "Agent Message API" .
Constructor Summary | |
JOpcMessage() constructs a new JOpcMessage |
Method Summary | |
java.lang.String
|
getApplication() Will load application which produced the message. |
long
|
getDataInfo() Will load additional information about the message. |
long
|
getDataType() Will load the type of the opcdata object. |
java.lang.String
|
getGroup() Will load message group. |
java.lang.String
|
getMsgid() Will load The unique ID of the message. |
java.lang.String
|
getMsgtext() Will load message text. |
java.lang.String
|
getNodename() Will load Name of the node producing the message. |
java.lang.String
|
getObject() Will load Object name to use for the HPOM message. |
java.lang.String
|
getServiceName() Will load the service name. |
long
|
getSeverity() Will load severity of the message. |
void
|
setApplication(java.lang.String aValue) Sets application which produced the message. |
void
|
setDataInfo(long aValue) Sets additional information about the message. |
void
|
setGroup(java.lang.String aValue) Sets message group. |
void
|
setMsgid(java.lang.String aValue) Set the unique ID of the message. |
void
|
setMsgtext(java.lang.String aValue) Sets message text. |
void
|
setNodename(java.lang.String aValue) Sets Name of the node producing the message. |
void
|
setObject(java.lang.String aValue) Sets Object name to use for the HPOM message. |
void
|
setOptionVar(java.lang.String aValue) Sets A string containing the optional parameters used for resolving the $OPTION variables by the message interceptor. |
void
|
setServiceName(java.lang.String aValue) Sets the service name. |
void
|
setSeverity(long aValue) Sets severity of the message. |
Constructor Detail |
public JOpcMessage() throws JOpcException
Method Detail |
public long getDataType() throws JOpcException
public long getSeverity() throws JOpcException
Possible values are: OPC_SEV_UNCHANGED OPC_SEV_UNKNOWN OPC_SEV_NORMAL OPC_SEV_WARNING OPC_SEV_CRITICAL OPC_SEV_MINOR OPC_SEV_MAJOR
public void setSeverity(long aValue) throws JOpcException
Possible values are: OPC_SEV_UNCHANGED OPC_SEV_UNKNOWN OPC_SEV_NORMAL OPC_SEV_WARNING OPC_SEV_CRITICAL OPC_SEV_MINOR OPC_SEV_MAJOR
public long getDataInfo() throws JOpcException
OPC_REMARK_FOR_ACK
public void setDataInfo(long aValue) throws JOpcException
OPC_REMARK_FOR_ACK
public java.lang.String getApplication() throws JOpcException
public void setApplication(java.lang.String aValue) throws JOpcException
public java.lang.String getGroup() throws JOpcException
public void setGroup(java.lang.String aValue) throws JOpcException
public java.lang.String getMsgtext() throws JOpcException
public void setMsgtext(java.lang.String aValue) throws JOpcException
public java.lang.String getNodename() throws JOpcException
public void setNodename(java.lang.String aValue) throws JOpcException
public java.lang.String getObject() throws JOpcException
public void setObject(java.lang.String aValue) throws JOpcException
public java.lang.String getMsgid() throws JOpcException
public void setMsgid(java.lang.String aValue) throws JOpcException
public void setOptionVar(java.lang.String aValue) throws JOpcException
public java.lang.String getServiceName() throws JOpcException
public void setServiceName(java.lang.String aValue) throws JOpcException